/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package pl.squeaky.mvc.model;

import org.eclipse.core.resources.IFile;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>IController</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link pl.squeaky.mvc.model.IController#getParent <em>Parent</em>}</li>
 *   <li>{@link pl.squeaky.mvc.model.IController#getFile <em>File</em>}</li>
 *   <li>{@link pl.squeaky.mvc.model.IController#getName <em>Name</em>}</li>
 *   <li>{@link pl.squeaky.mvc.model.IController#getActions <em>Actions</em>}</li>
 * </ul>
 * </p>
 *
 * @see pl.squeaky.mvc.model.MvcPackage#getIController()
 * @model
 * @generated
 */
public interface IController extends EObject {

	/**
	 * Returns the value of the '<em><b>Parent</b></em>' reference.
	 * It is bidirectional and its opposite is '{@link pl.squeaky.mvc.model.IControllers#getCollection <em>Collection</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Parent</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Parent</em>' reference.
	 * @see #setParent(IControllers)
	 * @see pl.squeaky.mvc.model.MvcPackage#getIController_Parent()
	 * @see pl.squeaky.mvc.model.IControllers#getCollection
	 * @model opposite="collection" required="true"
	 * @generated
	 */
	IControllers getParent();

	/**
	 * Sets the value of the '{@link pl.squeaky.mvc.model.IController#getParent <em>Parent</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Parent</em>' reference.
	 * @see #getParent()
	 * @generated
	 */
	void setParent(IControllers value);

	/**
	 * Returns the value of the '<em><b>File</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>File</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>File</em>' attribute.
	 * @see #setFile(IFile)
	 * @see pl.squeaky.mvc.model.MvcPackage#getIController_File()
	 * @model dataType="pl.squeaky.mvc.model.IFile"
	 * @generated
	 */
	IFile getFile();

	/**
	 * Sets the value of the '{@link pl.squeaky.mvc.model.IController#getFile <em>File</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>File</em>' attribute.
	 * @see #getFile()
	 * @generated
	 */
	void setFile(IFile value);

	/**
	 * Returns the value of the '<em><b>Name</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Name</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Name</em>' attribute.
	 * @see #setName(String)
	 * @see pl.squeaky.mvc.model.MvcPackage#getIController_Name()
	 * @model
	 * @generated
	 */
	String getName();

	/**
	 * Sets the value of the '{@link pl.squeaky.mvc.model.IController#getName <em>Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Name</em>' attribute.
	 * @see #getName()
	 * @generated
	 */
	void setName(String value);
	
	String getClassName();

	/**
	 * Returns the value of the '<em><b>Actions</b></em>' reference list.
	 * The list contents are of type {@link pl.squeaky.mvc.model.IAction}.
	 * It is bidirectional and its opposite is '{@link pl.squeaky.mvc.model.IAction#getController <em>Controller</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Actions</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Actions</em>' reference list.
	 * @see pl.squeaky.mvc.model.MvcPackage#getIController_Actions()
	 * @see pl.squeaky.mvc.model.IAction#getController
	 * @model opposite="controller"
	 * @generated
	 */
	EList<IAction> getActions();

} // IController
